
#ifndef ___GENE_INTERFACE___FOR_Entitya_
#define ___GENE_INTERFACE___FOR_Entitya_

#include "GeneImp.h"
#include "Entity/EntityIf.h"


class IEntity;

//
//	Genes for entity as host
//	entity is the main logic unit for a MMO RPG, all monster kinds of logic is implemented 
//	as a gene on entity. most of them derived from this class.
//
class TCOM_API  GeneE : public GeneImp
{
public:
	//
	//	set gene host
	//
	virtual bool setHost(IGeneHost* pHost);
protected:
	IEntity*	m_wpHost;
};

#endif